package org.jeecg.modules.simulator.model.line.station.station;

/**
 * @program: 车站业务
 * @description:
 * @author: lydms
 * @create: 2024-08-20 15:32
 **/
public class StationBizHandler {

    Station station;

    public StationBizHandler(Station station){
        this.station = station;
    }

    void openStation(){
    }

    void closeStation(){}

    void openPartStation(String line) throws Exception {

        if (this.station instanceof TransferStation) {
            // 处理逻辑
            return;
        }
        // 不支持
        throw new Exception();
    }
}
